<?php
	list($sql,$all_page) = splitPage("`v_user`","1 ORDER BY `user_id` ASC", 30, $_GET['p']);
	$strPage = fetchPage($all_page,$_GET['p']);
	$query = mysql_query($sql);

	$tp->block('result');
	while($result = mysql_fetch_assoc($query)) {
		$user_id	= $result['user_id'];
		$username	= $result['username'];
		$name		= $result['name'];
		$email		= $result['email'];
		$tel		= $result['tel'];
		$level		= $result['level'];
		$client_id	= $result['client_id'];
		$company	= $result['company'];
		$tp->apply();
	}
	mysql_free_result($query);
?>